﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AppEnvironment.Lib
{
    public enum StateTypeEnum
    {
        Thread,
        Session,
        Application
    }

    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public class StatefullAttribute : Attribute
    {
        public StateTypeEnum StateType { get; set; }

        public StatefullAttribute(StateTypeEnum stateType)
        {
            StateType = stateType;
        }
    }
}
